package com.designpattern.behavior.intermediary;

/**
 * @author Administration
 * @date 2021/10/26 - 16:23 - 星期二
 * @project 行为型模式中的中介者模式  抽象同事类（Colleague）角色
 * @package com.designpattern.behavior.intermediary
 * @by 晨
 */
public abstract class Preson {

    protected String name;
    protected Mediator mediator;

    public Preson(String name, Mediator mediator) {
        this.name = name;
        this.mediator = mediator;
    }
}
